/**
 * Copyright 2025 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

.login-container {
  display: flex;
  min-height: 100vh;
  max-height: 100%;
  .spinner {
    display: flex;
    justify-content: center;
    margin: 1em;
  }

  .linear-text {
    background: linear-gradient(
      89.9deg,
      rgba(66, 133, 244, 0.95) 21.17%,
      #a488f5 44.34%,
      rgba(234, 67, 53, 0.88) 81.26%
    );
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  .heading {
    font-family: 'Google Sans', sans-serif !important;
    font-size: 32px;
    font-style: normal;
    font-weight: 500;
    line-height: 150.7%;
    color: white;
  }

  .left-container {
    background-image:
      url('../../../assets/images/colibri_image_fx.jpg'),
      url('../../../assets/images/crane_image_fx.jpg');
    background-repeat: no-repeat, repeat;
    background-size: contain, contain;
    flex: 0 1 55%;
    min-height: 100%;
    max-width: 60%;
    align-items: center;
    padding: 0.5em;
    overflow: auto;
    display: flex;
    justify-content: center;

    .login-app-text-sub {
      color: #161a1d;
      font-size: 1rem;
      font-style: normal;
      font-weight: 400;
      line-height: 150.7%;
    }

    .login-app-text {
      // margin-bottom: 2rem;
      line-height: 1.5em;
    }

    .expand-button {
      --mdc-fab-container-color: #4285f41a;
      --mdc-fab-icon-color: #000000;
      border: 1px solid #4285f4;
      --mat-mdc-fab-color: #4285f4;
      height: 2.2rem;
      font-size: 0.8rem;
      font-weight: 400;
      box-shadow: none;
    }

    .expand-less-button {
      --mdc-fab-container-color: rgba(92, 95, 97, 0.1);
      --mdc-fab-icon-color: #000000;
      border: 1px solid rgba(92, 95, 97, 0.5);
      --mat-mdc-fab-color: rgba(92, 95, 97, 0.5);
      margin-bottom: 1em;
      height: 2.2rem;
      font-size: 0.8rem;
      font-weight: 400;
      box-shadow: none;
    }
  }

  .right-container {
    background-image: url('../../../assets/images/hot_air_baloon_image_fx.jpg');
    background-repeat: repeat;
    background-size: cover;
    flex: 0 1 45%;
    min-height: 100%;
    max-width: 80%;
    align-items: flex-start;
    display: flex;
    justify-content: center;
    overflow-y: auto;
    scrollbar-width: thin;

    .login-card {
      backdrop-filter: blur(10px);
      flex-direction: column;
      display: flex;
      max-width: 100%;
      padding: 3%;
      margin: auto;
      text-align: center;

      .logo-icon {
        height: 145px;
        width: 100%;
        // margin-bottom: 2rem;
      }

      .login-button {
        background: #4285f4;
        box-sizing: border-box;
        border: 1px solid #e0e0e0;
        color: #fff;
        position: relative;
        user-select: none;
        cursor: pointer;
        outline: none;
        -webkit-tap-highlight-color: transparent;
        display: inline-block;
        font-family: 'Google Sans', sans-serif !important;
        font-size: 14px;
        font-weight: 500;
        white-space: nowrap;
        text-decoration: none;
        vertical-align: baseline;
        text-align: center;
        margin: 0;
        min-width: 100px;
        line-height: 36px;
        padding: 0 16px;
        border-radius: 4px;
        overflow: visible;
        transform: translate3d(0, 0, 0);
        transition:
          background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),
          box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
      }

      .register-text {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin: 1em 0em;
        font-weight: 400;
        color: #161a1d;
      }

      .register-button {
        background: white;
        box-sizing: border-box;
        border: 1px solid #4285f4;
        color: #4285f4;
        position: relative;
        user-select: none;
        cursor: pointer;
        outline: none;
        -webkit-tap-highlight-color: transparent;
        display: inline-block;
        font-family: 'Google Sans', sans-serif !important;
        font-size: 14px;
        font-weight: 500;
        white-space: nowrap;
        text-decoration: none;
        vertical-align: baseline;
        text-align: center;
        margin: 0;
        min-width: 64px;
        line-height: 36px;
        padding: 0 16px;
        border-radius: 4px;
        overflow: visible;
        transform: translate3d(0, 0, 0);
        transition:
          background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),
          box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
      }
    }
  }

  .slide {
    width: 100%;
    min-height: 15rem;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 200.7%;
    padding-left: 0px;

    .feature-heading {
      font-weight: 700;
    }
  }

  .slider {
    position: relative;
    height: 100%;
  }

  .dotsContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2em;
  }

  .dot {
    margin: 0 3px;
    cursor: pointer;
    font-size: 18px;
    color: #d0d3d7;
  }

  .active {
    color: #1a73e8;
    background-color: #d0d3d7;
    padding: 2px;
    border-radius: 50%;
    font-size: 12px;
  }

  .material-symbols-outlined {
    font-variation-settings:
      'FILL' 1,
      'wght' 400,
      'GRAD' 0,
      'opsz' 18;
  }

  h6 {
    position: relative;
    z-index: 1;
    overflow: hidden;
    text-align: center;
    font-size: 1.2em;
    font-style: normal;
    font-weight: 500;
    line-height: 200.7%;
    font-family: 'Google Sans', sans-serif !important;
  }

  h6:before,
  h6:after {
    position: absolute;
    top: 51%;
    overflow: hidden;
    width: 50%;
    height: 1px;
    content: '\a0';
    background: linear-gradient(
      86.95deg,
      #34a853 -65.34%,
      #fbbc05 -12.75%,
      #ea4335 25.15%,
      #1a73e8 103.88%
    );
  }

  h6:before {
    margin-left: -50%;
    text-align: right;
  }
}

.login-buttons-container {
  padding-inline: 4%;
  gap: 12px;
  display: flex;
  flex-direction: column;
  background: #f7f9ff;
  padding-top: 4%;
  padding-bottom: 4%;
  border-radius: 5px;
}

.back-button {
  color: #5c5f61 !important;
  font-weight: 400 !important;
}

.help-container {
  padding-top: 2%;
  text-align: center;
}

.blue {
  color: #4285f4;
  cursor: pointer;
}

mat-form-field {
  width: 100%;
}

.user-name-container {
  display: flex;
  flex-direction: row;
  gap: 3%;
}

.error-message {
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: -0.005rem;
  color: #ed0c0c;

  .mat-mdc-form-field-subscript-wrapper {
    margin-top: -10px;
  }
}

.forgot-password-container {
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 4%;
}

.forgot-password-icon-container {
  width: 100%;
  height: 100%;

  mat-icon {
    font-size: 105px;
    height: 100%;
    width: 100%;
    padding: 1%;
    padding-top: 7%;
    color: #3467bb;
  }
}

.forgot-password-heading-container {
  font-size: 29px;
  font-weight: 600;
  font-family: 'Google Sans', sans-serif !important;
  line-height: 2.5em;
}

.forgot-password-subtext-container {
  display: flex;
  flex-direction: column;
  text-align: center;
  font-size: 19px;
  gap: 10px;
  line-height: 1.5em;

  mat-icon {
    color: #4385f4;
  }
}

.logo-icon {
  height: 170px;
  width: 100%;
}

.login-button {
  width: 100%;
  background: #4285f4;
  box-sizing: border-box;
  border: 1px solid #e0e0e0;
  color: #fff;
  position: relative;
  user-select: none;
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  display: inline-block;
  font-family: 'Google Sans', sans-serif !important;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  vertical-align: baseline;
  text-align: center;
  margin: 0;
  min-width: 64px;
  line-height: 44px;
  padding: 0 16px;
  border-radius: 4px;
  overflow: visible;
  transform: translate3d(0, 0, 0);
  transition:
    background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),
    box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
}

.register-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 0.3em;
  font-weight: 400;
  color: #5c5f61;
}

.register-button {
  width: 100%;
  background: white;
  box-sizing: border-box;
  border: 1px solid #4285f4;
  color: #4285f4;
  position: relative;
  user-select: none;
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  display: inline-block;
  font-family: 'Google Sans', sans-serif !important;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  vertical-align: baseline;
  text-align: center;
  margin: 0;
  min-width: 64px;
  line-height: 44px;
  padding: 0 16px;
  border-radius: 4px;
  overflow: visible;
  transform: translate3d(0, 0, 0);
  transition:
    background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),
    box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
}

.send-email-button {
  background: #40bd40 !important;
  font-weight: 600 !important;
  font-size: 16px !important;
}

.close-button {
  float: right !important;
}

.forgot-password-link-container {
  width: 100%;
  text-align: end;
  display: flex;
  flex-direction: column;
  padding-bottom: 4%;
  z-index: 100;
  position: relative;
}

.button-css {
  display: flex;
  justify-content: center;

  .ok-button {
    justify-content: center;
    display: flex;
    width: 25%;
    background: #4285f4;
    box-sizing: border-box;
    border: 1px solid #e0e0e0;
    color: #fff;
    position: relative;
    user-select: none;
    cursor: pointer;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    font-family: 'Google Sans', sans-serif !important;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none;
    vertical-align: baseline;
    text-align: center;
    margin: 0;
    min-width: 64px;
    line-height: 44px;
    padding: 0 16px;
    border-radius: 4px;
    overflow: visible;
    transform: translate3d(0, 0, 0);
    transition:
      background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),
      box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
  }
}

.icon-css {
  font-size: 40px;
  color: #f3f30aed;
}

.text-css {
  font-size: 15px;
  line-height: 1.45em;
  font-family: 'Google Sans', sans-serif !important;
  color: #645a5a;
}

.logo-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  text-align: center;
  mat-icon {
    height: 20% !important;
    width: 100% !important;
    font-size: 70px !important;
    color: #4285f4 !important;
  }
}

.heading-span {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
  padding: 2%;
  width: 100%;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  padding-left: 15%;
  color: #4285f4 !important;
}

.heading-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  background: aliceblue;
}

.sub-parent-container {
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 15px;
  font-style: normal;
  line-height: normal;
  font-family: 'Google Sans', sans-serif !important;
}

.info {
  padding-bottom: 10px !important;
  small {
    color: #a8a8b5;
  }
}
